<template>
  <div class="wrapper"></div>
</template>

<script>
import Cookies from "js-cookie";
export default {
name:'',
components:{},
  props:{},
  data(){
    return {
            carouselValue: 0,
            News1 :[]
    }
  },
  watch:{},
  computed:{},
  methods:{
   moreClick(type, name, path) {
      this.setStore("moreDetailType", { type: type, name: name, path: path });
      this.$router.push({
        path: path
      });
    },
    carouselChange(val) {
      this.carouselValue = val;
    },
     selectNewsPortal() {
      //新闻

      selectNewsPortal({
        departmentId: this.userInfo.departmentId,
        num: 7
      }).then(res => {
        let data = res;
        if (res.success) {
          this.tipsNews = data;
          this.News1 = data.result;
        }
      });
    },
  },
  created(){},
  mounted(){}
}
</script>
<style lang="less" scoped>
.wrapper{
    width:100%;
    height: 100%;
}
</style>
<style lang="less">
@import "./less/home.less";
@import "../../styles/common.less";
.my-card {
  .ivu-card-body {
    padding: 10px 12px;
  }
}
.my-card1 {
  .ivu-card-body {
    padding: 0;
  }
}
</style>
<style scoped lang="less">
@import "./less/page_home.less";
.demo-carousel {
  width: 100%;
  height: 100%;
}
.page_home_main {
  height: 100%;
}
.page_home_scroll {
  height: 100%;
  width: 100%;
}
</style>